package com.explorx.sns.puma.im.core.dal.dao;

import com.explorx.sns.puma.im.core.dal.entity.GroupBaseInfoEntity;
import com.explorx.sns.puma.im.core.dal.entity.GroupBaseInfoEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GroupBaseInfoEntityMapper {
    int deleteByPrimaryKey(@Param("id") Long id, @Param("groupId") Long groupId, @Param("creatorId") Long creatorId, @Param("ownerId") Long ownerId);

    int insert(GroupBaseInfoEntity record);

    int insertSelective(GroupBaseInfoEntity record);

    List<GroupBaseInfoEntity> selectByExample(GroupBaseInfoEntityExample example);

    GroupBaseInfoEntity selectByPrimaryKey(@Param("id") Long id, @Param("groupId") Long groupId, @Param("creatorId") Long creatorId, @Param("ownerId") Long ownerId);

    int updateByExampleSelective(@Param("record") GroupBaseInfoEntity record, @Param("example") GroupBaseInfoEntityExample example);

    int updateByExample(@Param("record") GroupBaseInfoEntity record, @Param("example") GroupBaseInfoEntityExample example);

    int updateByPrimaryKeySelective(GroupBaseInfoEntity record);

    int updateByPrimaryKey(GroupBaseInfoEntity record);
}